runtime.p.runqtail (field)
18 uses
runtime (current package)
proc.go#L4010: if mp.spinning && (pp.runnext != 0 || pp.runqhead != pp.runqtail) {
proc.go#L5629: for pp.runqhead != pp.runqtail {
proc.go#L5631: pp.runqtail--
proc.go#L5632: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L6369: t := atomic.Load(&pp.runqtail)
proc.go#L6691: tail := atomic.Load(&pp.runqtail)
proc.go#L6693: if tail == atomic.Load(&pp.runqtail) {
proc.go#L6746: t := pp.runqtail
proc.go#L6749: atomic.StoreRel(&pp.runqtail, t+1) // store-release, makes the item available for consumption
proc.go#L6806: t := pp.runqtail
proc.go#L6818: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L6826: atomic.StoreRel(&pp.runqtail, t)
proc.go#L6850: t := pp.runqtail
proc.go#L6872: t := pp.runqtail
proc.go#L6907: t := atomic.LoadAcq(&pp.runqtail) // load-acquire, synchronize with the producer
proc.go#L6960: t := pp.runqtail
proc.go#L6974: atomic.StoreRel(&pp.runqtail, t+n) // store-release, makes the item available for consumption
runtime2.go#L671: runqtail uint32
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |